

<table class="table table-striped" id="tableColaborate">
    <thead>
        <tr>
            <th>id</th>
            <th>nombre</th>
        </tr>
    </thead>
</table>

<script type="text/javascript">
    $(document).ready(function() {
        $.ajax({
            url: 'controller/control_colaborador.php',
            type: 'post',
            data: {action: "viewCol3fs3tfgsd24Grg"},
            dataType: 'json',
            success: function(data) {
                if (data.success) {
                    alert('Paso Sussec');
                    $.each(data, function(index, record) {
                        if ($.isNumeric(index)) {
                            var row = $("<tr />");
                            $("<td />").text(record.id).appendTo(row);
                            $("<td />").text(record.nombre).appendTo(row);
                            
                            row.appendTo("#tableColaborate");
                        }
                    });
                }
            }
        });
    });

</script>